<nav>
      <?php include_partial('menu');?>     
</nav>
<article id="contenedorPais">    
<table class="table1">
  <thead>
      <thead>
    <tr>
        <th colspan="7"><h2 id="titulo_form">CONVOCATORIAS DISPONIBLES</h2></th>
    </tr>
    <tr>            
      <th>Logo  </th>
      <th>Nombre</th>      
      <th>Plazo</th>
      <th>Fecha inicio</th>
      <th>Fecha fin</th>
      <th>Universidad que ofrece</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($becas->getResults() as $beca):?>
    <?php //foreach ($becas->getActiveBecas(sfConfig::get('app_max_becas_on_homepage')) as $i => $beca): ?>
    <tr>
      <td><a href="<?php echo url_for('becas_aplicables/show?id='.$beca->getId()) ?>"><?php echo image_tag('/uploads/logos/'.$beca->getLogo(), 'id=img_logo', 'alt=logo'.$beca->getId()) ?></td>
      <td><a href="<?php echo url_for('becas_aplicables/show?id='.$beca->getId()) ?>"><?php echo $beca->getNombre() ?></td>
      <td><?php echo $beca->getPlazo() ?></td>
      <td><?php echo $beca->getFechaInicio() ?></td>
      <td><?php echo $beca->getFechaFin() ?></td>
      <td><?php echo $beca->getEntidad()->getNombre()?></td>
    </tr>    
    <?php endforeach; ?>
  </tbody>
  <tfoot>
  <tr>            
   <td colspan="6"><?php include_partial('paginacion', array('becas'=> $becas)) ?></td>
  </tr>  
  </tfoot>
  </table>
</article>
<footer>    
</footer>